package cannot.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Tv {
    private Integer id;

    private String img_url;

    private String video_url;

    private String name;

    private String isfilm;

    private String istv;

    private String isvip;

    private Integer uploader_id;

    private String actor;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date showdate;

    private Date createdate;

    private Integer play_times;

    private Integer praise_times;

    private Double grades;

    private String descri;
    
    private User user;
    

    public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url == null ? null : img_url.trim();
    }

    public String getVideo_url() {
        return video_url;
    }

    public void setVideo_url(String video_url) {
        this.video_url = video_url == null ? null : video_url.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getIsfilm() {
        return isfilm;
    }

    public void setIsfilm(String isfilm) {
        this.isfilm = isfilm == null ? null : isfilm.trim();
    }

    public String getIstv() {
        return istv;
    }

    public void setIstv(String istv) {
        this.istv = istv == null ? null : istv.trim();
    }

    public String getIsvip() {
        return isvip;
    }

    public void setIsvip(String isvip) {
        this.isvip = isvip == null ? null : isvip.trim();
    }

    public Integer getUploader_id() {
        return uploader_id;
    }

    public void setUploader_id(Integer uploader_id) {
        this.uploader_id = uploader_id;
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor == null ? null : actor.trim();
    }

    public Date getShowdate() {
        return showdate;
    }

    public void setShowdate(Date showdate) {
        this.showdate = showdate;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Integer getPlay_times() {
        return play_times;
    }

    public void setPlay_times(Integer play_times) {
        this.play_times = play_times;
    }

    public Integer getPraise_times() {
        return praise_times;
    }

    public void setPraise_times(Integer praise_times) {
        this.praise_times = praise_times;
    }

    public Double getGrades() {
        return grades;
    }

    public void setGrades(Double grades) {
        this.grades = grades;
    }

    public String getDescri() {
        return descri;
    }

    public void setDescri(String descri) {
        this.descri = descri == null ? null : descri.trim();
    }
}